package com.example.handpose_front.dto;

public enum CountryEnum {

    CHINESE_CHINA(1, "中国"),
    ENGLISH_USA(2, "美国"),
    FRENCH(3, "法国");

    // 标记存储到数据库的值
    private Integer key;

    // 标记json返回的值
    private String display;

    CountryEnum(Integer key, String display) {
        this.key = key;
        this.display = display;
    }

    public Integer getKey() {
        return key;
    }

    public String getDisplay() {
        return display;
    }
}
